<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="Login.ascx.cs" Inherits="ElevatorSpeeches.UI.WebForms.Controls.Login" %>

<asp:Login ID="Login1" runat="server">
    <LayoutTemplate>
    Log In<p />                        
    <asp:Label ID="UserNameLabel" runat="server" AssociatedControlID="UserName">User Name</asp:Label><br />
    <asp:TextBox ID="UserName" runat="server"></asp:TextBox>
    <asp:RequiredFieldValidator ID="UserNameRequired" runat="server" 
        ControlToValidate="UserName" ErrorMessage="User Name is required." 
        ToolTip="User Name is required." ValidationGroup="ctl00$Login1">*</asp:RequiredFieldValidator>

    <p />
    
    <asp:Label ID="PasswordLabel" runat="server" AssociatedControlID="Password">Password:</asp:Label><br />
    <asp:TextBox ID="Password" runat="server" TextMode="Password"></asp:TextBox>
    <asp:RequiredFieldValidator ID="PasswordRequired" runat="server" 
        ControlToValidate="Password" ErrorMessage="Password is required." 
        ToolTip="Password is required." ValidationGroup="ctl00$Login1">*</asp:RequiredFieldValidator><p />

    <asp:CheckBox ID="RememberMe" runat="server" Text="Remember me next time." />

    <asp:Literal ID="FailureText" runat="server" EnableViewState="False"></asp:Literal>
    <p />
    <asp:Button ID="LoginButton" runat="server" CommandName="Login" Text="Log In" ValidationGroup="ctl00$Login1" />

    </LayoutTemplate>
</asp:Login>
